package com.yao2san.simdif.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yao2san.simdif.bean.BaseBean;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 列信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("column_info")
public class ColumnInfo extends BaseBean {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long syncId;
    private Long datasourceId;
    private Long tableInfoId;
    private String tableName;
    private String columnName;
    private String columnComment;
    private String columnType;
    private String columnDataType;
    private Integer columnLength;
    private Object columnDefault;
    private String columnIndex;
    private Boolean columnNull;
    private Integer columnSort;
}
